const { generateService } = require('@umijs/openapi')

generateService({
  schemaPath: 'http://39.108.64.144:18888/v2/api-docs?format=openapi',
  serversPath: './src/apidocs',
  requestLibPath: 'import request from "@/utils/request";',
  apiPrefix: '',
  projectName: 'api',
  namespace: 'API',
  dataFields: ['data']
})
